<?php

use think\Route;

//机构端
Route::group('xcxapi', function () {
    // 公共方法
    Route::any('/:version/selectCustomer', 'xcxapi/:version.Commom/selectCustomer');
    Route::any('/:version/marking', 'xcxapi/:version.Commom/marking');
    Route::any('/:version/pushMessage', 'xcxapi/:version.Commom/pushMessage');
    Route::any('/:version/dataList', 'xcxapi/:version.Commom/dataList');
    Route::any('/:version/followUpLinkUp', 'xcxapi/:version.Commom/followUpLinkUp');
    Route::any('/:version/selectColleague', 'xcxapi/:version.Commom/selectColleague');
    Route::any('/:version/revolveColleague', 'xcxapi/:version.Commom/revolveColleague');
    Route::any('/:version/participantReminderTime', 'xcxapi/:version.Commom/participantReminderTime');
    Route::any('/:version/writeFollowUpLog', 'xcxapi/:version.Commom/writeFollowUpLog');
    Route::any('/:version/signInIndex', 'xcxapi/:version.Commom/signInIndex');
    Route::any('/:version/signInDetailLists', 'xcxapi/:version.Commom/signInDetailLists');
    Route::any('/:version/signInDel', 'xcxapi/:version.Commom/signInDel');
    Route::any('/:version/signInLists', 'xcxapi/:version.Commom/signInLists');
	Route::any('/:version/rollCall', 'xcxapi/:version.Commom/rollCall');
	Route::any('/:version/deleteClass', 'xcxapi/:version.Commom/deleteClass');
	Route::any('/:version/cancleClass', 'xcxapi/:version.Commom/cancleClass');
    Route::any('/:version/editCustomer', 'xcxapi/:version.Commom/editCustomer');
    Route::any('/:version/followUp', 'xcxapi/:version.Commom/followUp');
    // 公共方法

    // 登录
    Route::any('/:version/login', 'xcxapi/:version.Register/login');
    Route::any('/:version/changePassword', 'xcxapi/:version.Register/changePassword');
    // 登录

    // 客户
    Route::any('/:version/customerLists', 'xcxapi/:version.Customer/customerLists');
    Route::any('/:version/addCustomer', 'xcxapi/:version.Customer/addCustomer');
    Route::any('/:version/customer', 'xcxapi/:version.Customer/customer');
    Route::any('/:version/customerDetail', 'xcxapi/:version.Customer/customerDetail');
    Route::any('/:version/auditionClassList', 'xcxapi/:version.Customer/auditionClassList');
    Route::any('/:version/visit', 'xcxapi/:version.Customer/visit');
    Route::any('/:version/followUpLists', 'xcxapi/:version.Customer/followUpLists');
    Route::any('/:version/signStatus', 'xcxapi/:version.Customer/signStatus');
    Route::any('/:version/visitStatus', 'xcxapi/:version.Customer/visitStatus');
    Route::any('/:version/changeStudent', 'xcxapi/:version.Customer/changeStudent');
    Route::any('/:version/releaseCustomer', 'xcxapi/:version.Customer/releaseCustomer');
    Route::any('/:version/invalid', 'xcxapi/:version.Customer/invalid');
    Route::any('/:version/delete', 'xcxapi/:version.Customer/delete');
    Route::any('/:version/productClass', 'xcxapi/:version.Customer/productClass');
	Route::any('/:version/getContractType', 'xcxapi/:version.Customer/getContractType');
	Route::any('/:version/createOrder', 'xcxapi/:version.Customer/createOrder');
	Route::any('/:version/getByCampusEduUser', 'xcxapi/:version.Customer/getByCampusEduUser');
	Route::any('/:version/storedValue', 'xcxapi/:version.Customer/storedValue');
	Route::any('/:version/addAudition', 'xcxapi/:version.Customer/addAudition');
	Route::any('/:version/customerReceivables', 'xcxapi/:version.Customer/customerReceivables');
	Route::any('/:version/classTypeGoodType', 'xcxapi/:version.Customer/classTypeGoodType');
    Route::any('/:version/receivablesPaymentMethod', 'xcxapi/:version.Customer/receivablesPaymentMethod');
    Route::any('/:version/achieveAuditionClassDayLists', 'xcxapi/:version.Customer/achieveAuditionClassDayLists');
    // 客户

    Route::any('/:version/getUserSig', 'xcxapi/:version.GetUserAPI/getUserSig');

    // 课程
    Route::any('/:version/courseLists', 'xcxapi/:version.Course/courseLists');
    Route::any('/:version/courseAdd', 'xcxapi/:version.Course/courseAdd');
    Route::any('/:version/coursEdit', 'xcxapi/:version.Course/coursEdit');
    Route::any('/:version/courseStatus', 'xcxapi/:version.Course/courseStatus');
    Route::any('/:version/courseDel', 'xcxapi/:version.Course/courseDel');
    Route::any('/:version/courseDetail', 'xcxapi/:version.Course/courseDetail');
    Route::any('/:version/achieveLists', 'xcxapi/:version.Course/achieveLists');
    Route::any('/:version/scheduleAdd', 'xcxapi/:version.Course/scheduleAdd');
    Route::any('/:version/scheduleEdit', 'xcxapi/:version.Course/scheduleEdit');
	Route::any('/:version/scheduleDel', 'xcxapi/:version.Course/scheduleDel');
    // 课程

    // 班级
    Route::any('/:version/gradesLists', 'xcxapi/:version.Grades/gradesLists');
    Route::any('/:version/gradesAdd', 'xcxapi/:version.Grades/gradesAdd');
	Route::any('/:version/gradesDel', 'xcxapi/:version.Grades/gradesDel');
	Route::any('/:version/classAssignment', 'xcxapi/:version.Grades/classAssignment');
	Route::any('/:version/getGradesInfo', 'xcxapi/:version.Grades/getGradesInfo');
	Route::any('/:version/insertStudentTable', 'xcxapi/:version.Grades/insertStudentTable');
    Route::any('/:version/achieveGradesInfo', 'xcxapi/:version.Grades/achieveGradesInfo');
	/*
    Route::any('/:version/gradesEdit', 'xcxapi/:version.Grades/gradesEdit');
	*/
    Route::any('/:version/gradesDetail', 'xcxapi/:version.Grades/gradesDetail');
    Route::any('/:version/getDataLists', 'xcxapi/:version.Grades/getDataLists');
	Route::any('/:version/addclassdata', 'xcxapi/:version.Grades/addclassdata');
	/*
    Route::any('/:version/rollCallLists', 'xcxapi/:version.Grades/rollCallLists');
    Route::any('/:version/rollCall', 'xcxapi/:version.Grades/rollCall');
	*/
    // 班级

    // 补课
    Route::any('/:version/remedialLists', 'xcxapi/:version.Remedial/remedialLists');
    Route::any('/:version/remedialDel', 'xcxapi/:version.Remedial/remedialDel');
    Route::any('/:version/remedialFollowGrade', 'xcxapi/:version.Remedial/remedialFollowGrade');
    Route::any('/:version/remedialFollowClass', 'xcxapi/:version.Remedial/remedialFollowClass');
    Route::any('/:version/remedialLessonClass', 'xcxapi/:version.Remedial/remedialLessonClass');
	Route::any('/:version/remedialInsertStudentInfos', 'xcxapi/:version.Remedial/remedialInsertStudentInfos');
    // 补课

    // 课表
    Route::any('/:version/timetableIndex', 'xcxapi/:version.Timetable/timetableIndex');
    Route::any('/:version/timetableLists', 'xcxapi/:version.Timetable/timetableLists');
    // 课表

    // 学员
    Route::any('/:version/studentLists', 'xcxapi/:version.Student/studentLists');
    Route::any('/:version/studentDetail', 'xcxapi/:version.Student/studentDetail');
    Route::any('/:version/orderRecord', 'xcxapi/:version.Student/orderRecord');
    Route::any('/:version/attendSchoolRecord', 'xcxapi/:version.Student/attendSchoolRecord');
    // 学员

    // 作业
    Route::any('/:version/taskLists', 'xcxapi/:version.Task/taskLists');
    Route::any('/:version/taskDetailLists', 'xcxapi/:version.Task/taskDetailLists');
    Route::any('/:version/taskDetail', 'xcxapi/:version.Task/taskDetail');
    Route::any('/:version/publishWork', 'xcxapi/:version.Task/publishWork');
    Route::any('/:version/publishWorkCorrection', 'xcxapi/:version.Task/publishWorkCorrection');
    Route::any('/:version/publishWorkAnalysis', 'xcxapi/:version.Task/publishWorkAnalysis');
    Route::any('/:version/queryStudentWork', 'xcxapi/:version.Task/queryStudentWork');
    Route::any('/:version/delWork', 'xcxapi/:version.Task/delWork');
    // 作业

    // 点评
    Route::any('/:version/classCommentLists', 'xcxapi/:version.Comment/classCommentLists');
    Route::any('/:version/classDayCommentLists', 'xcxapi/:version.Comment/classDayCommentLists');
    Route::any('/:version/classDayCommentDetail', 'xcxapi/:version.Comment/classDayCommentDetail');
    Route::any('/:version/classDayComment', 'xcxapi/:version.Comment/classDayComment');
    // 点评

    // 财务
    //财务汇总
    Route::any('/:version/financeSummary', 'xcxapi/:version.Finance/financeSummary');
    //校区收款汇总
    Route::any('/:version/campusReceivablesSummary', 'xcxapi/:version.Finance/campusReceivablesSummary');
    //个人收款汇总
    Route::any('/:version/personalReceivablesSummary', 'xcxapi/:version.Finance/personalReceivablesSummary');
    //退款汇总
    Route::any('/:version/refundSummary', 'xcxapi/:version.Finance/refundSummary');
    //缴款确认
    Route::any('/:version/paymentConfirmation', 'xcxapi/:version.Finance/paymentConfirmation');
    Route::any('/:version/examine', 'xcxapi/:version.Finance/examine');
    //订单记录
    Route::any('/:version/orderLists', 'xcxapi/:version.Finance/orderLists');
    Route::any('/:version/orderEdit', 'xcxapi/:version.Finance/orderEdit');
	Route::any('/:version/projectDetail', 'xcxapi/:version.Finance/projectDetail');
    Route::any('/:version/pickUpInformation', 'xcxapi/:version.Finance/pickUpInformation');
    //收款
    Route::any('/:version/receivables', 'xcxapi/:version.Finance/receivables');
    //学费分配
    Route::any('/:version/tuitionAllocation', 'xcxapi/:version.Finance/tuitionAllocation');
    Route::any('/:version/performanceAllocation', 'xcxapi/:version.Finance/performanceAllocation');
    Route::any('/:version/performanceDel', 'xcxapi/:version.Finance/performanceDel');
    //订单详情
    Route::any('/:version/orderDetail', 'xcxapi/:version.Finance/orderDetail');
    //订单退费
    Route::any('/:version/orderRefund', 'xcxapi/:version.Finance/orderRefund');
	//订单退费提交
    Route::any('/:version/saverefund', 'xcxapi/:version.Finance/saverefund');
    //业绩分配记录
    Route::any('/:version/performanceDistributionRecord', 'xcxapi/:version.Finance/performanceDistributionRecord');
    //业绩分配
    Route::any('/:version/performanceDistribution', 'xcxapi/:version.Finance/performanceDistribution');
	//业绩添加
    Route::any('/:version/addAchievement', 'xcxapi/:version.Finance/addAchievement');
	//资金分配课时
    Route::any('/:version/getContractinfo', 'xcxapi/:version.Finance/getContractinfo');
	//资金分配课时提交接口
    Route::any('/:version/referAllocation', 'xcxapi/:version.Finance/referAllocation');
    // 财务

    // 总览
    //招生总览
    Route::any('/:version/recruitStudentsOverview', 'xcxapi/:version.Overview/recruitStudentsOverview');
    Route::any('/:version/recentDetailLists', 'xcxapi/:version.Overview/recentDetailLists');
    Route::any('/:version/overviewDetailLists', 'xcxapi/:version.Overview/overviewDetailLists');
    Route::any('/:version/sourceFollowUpIntentionLevel', 'xcxapi/:version.Overview/sourceFollowUpIntentionLevel');
    Route::any('/:version/sourceLists', 'xcxapi/:version.Overview/sourceLists');
    Route::any('/:version/followUpStatusLists', 'xcxapi/:version.Overview/followUpStatusLists');
    Route::any('/:version/intentionLevelLists', 'xcxapi/:version.Overview/intentionLevelLists');
    //收费总览
    Route::any('/:version/chargeOverview', 'xcxapi/:version.Overview/chargeOverview');
    //课消总览
    Route::any('/:version/classEliminationOverview', 'xcxapi/:version.Overview/classEliminationOverview');
    Route::any('/:version/classEliminationOverviewDetail', 'xcxapi/:version.Overview/classEliminationOverviewDetail');
    //服务总览
    Route::any('/:version/serviceOverview', 'xcxapi/:version.Overview/serviceOverview');
    Route::any('/:version/visitLists', 'xcxapi/:version.Overview/visitLists');
    Route::any('/:version/complaintSuggestionLists', 'xcxapi/:version.Overview/complaintSuggestionLists');
    // 总览

    // 我的
    Route::any('/:version/noticeLists', 'xcxapi/:version.My/noticeLists');
    Route::any('/:version/notice', 'xcxapi/:version.My/notice');
	Route::any('/:version/coordination', 'xcxapi/:version.My/coordination');
    Route::any('/:version/noticeDel', 'xcxapi/:version.My/noticeDel');
    Route::any('/:version/noticeCancel', 'xcxapi/:version.My/noticeCancel');
    Route::any('/:version/approval', 'xcxapi/:version.My/approval');
    Route::any('/:version/launchApproval', 'xcxapi/:version.My/launchApproval');
    Route::any('/:version/approvalLists', 'xcxapi/:version.My/approvalLists');
    Route::any('/:version/approvalDetail', 'xcxapi/:version.My/approvalDetail');
    Route::any('/:version/approverLists', 'xcxapi/:version.My/approverLists');
    Route::any('/:version/cancel', 'xcxapi/:version.My/cancel');
    Route::any('/:version/achievementdetail', 'xcxapi/:version.My/achievementdetail');
	Route::any('/:version/information', 'xcxapi/:version.My/information');
	Route::any('/:version/isRead', 'xcxapi/:version.My/isRead');
	Route::any('/:version/uploadHead', 'xcxapi/:version.My/uploadHead');
	Route::any('/:version/launchCoordination', 'xcxapi/:version.My/launchCoordination');
    // 我的

	//支付
	Route::any('/:version/executionPayment', 'xcxapi/:version.Xcxpay/executionPayment');
	//支付
});

//家长端
Route::group('parent', function () {
    // 登录
    Route::any('/:version/login', 'parent/:version.Register/login');
    Route::any('/:version/changePassword', 'parent/:version.Register/changePassword');
    // 登录

    // 点评
    Route::any('/:version/classCommentLists', 'parent/:version.Comment/classCommentLists');
    Route::any('/:version/classDayCommentLists', 'parent/:version.Comment/classDayCommentLists');
    Route::any('/:version/classDayCommentDetail', 'parent/:version.Comment/classDayCommentDetail');
    Route::any('/:version/classDayComment', 'parent/:version.Comment/classDayComment');
    // 点评

    // 作业
    Route::any('/:version/taskLists', 'parent/:version.Task/taskLists');
    Route::any('/:version/taskClassLists', 'parent/:version.Task/taskClassLists');
    Route::any('/:version/taskDetailLists', 'parent/:version.Task/taskDetailLists');
    Route::any('/:version/taskDetail', 'parent/:version.Task/taskDetail');
    Route::any('/:version/submissionWork', 'parent/:version.Task/submissionWork');
    // 作业

    // 我的
    Route::any('/:version/myClass', 'parent/:version.My/myClass');
    Route::any('/:version/attendanceRecord', 'parent/:version.My/attendanceRecord');
    Route::any('/:version/myLeave', 'parent/:version.My/myLeave');
    Route::any('/:version/launchApproval', 'parent/:version.My/launchApproval');
    Route::any('/:version/paymentRecord', 'parent/:version.My/paymentRecord');
    Route::any('/:version/complaintSuggestion', 'parent/:version.My/complaintSuggestion');
    Route::any('/:version/information', 'parent/:version.My/information');
    Route::any('/:version/isRead', 'parent/:version.My/isRead');
    Route::any('/:version/uploadHead', 'parent/:version.My/uploadHead');
    // 我的

    // 学习中心
    Route::any('/:version/classDayDetailLists', 'parent/:version.ClassDay/classDayDetailLists');
    // 学习中心
});
